import {trigger, state, style, transition, animate} from '@angular/animations';

export const avatarAnim = trigger('avatarAnim', [
  state('out', style({transform: 'translateY(0%)'})),
  state('hover', style({transform: 'translateY(10%)'})),
  transition('out => hover', animate('300ms ease-in')),
  transition('hover => out', animate('300ms ease-out')),
]);

